<div class='Company'>
<span class="float_right">
<%if @cur_user.have_power?(@project)%>
  <%=link_to_remote image_tag("trash.gif",:border=>0),:url=>{:action=>'del_child_company',:id=>company.id},:confirm=>"Are you sure?".t,:loading=>"new Effect.Highlight('company_#{company.id}',{duration:10});" if company.users.size == 0 %>
  <%end%>
</span>
 <%if @project%>
   <%=company.name%> -  <%=@project.name%> [<%="Users".t%>:<%=@project.company_users(company.id).size%>]
 <%else%>
   <%=company.name%>[<%="Users".t%>:<%=company.users.size%>]
 <%end%>
</div>
<div id='user_list'>
 <%=render :partial=>'user_list',:locals=>{:project_id=>project_id,:company=>company}%>
</div>
